namespace java com.bbx.demo.thrift.generated

struct Message {
    1: i32 id ,
    2: string name,
    3: string age,
}



exception ThriftExcption {
    1: i32 code,
    2: string msg,
    3: string callStack,

}

service MessageService {
    void ping(),

    Message getMessageById(1: i32  id) throws (1: ThriftExcption  thriftExcption),

}